<?php


namespace app\admin\model;


use think\Db;
use think\Model;

class Adminlog extends Model
{
  public static function adminlog($log){
      $list = ['username'=>session('admin')['username'],'log'=>$log,'time'=>time()];
      Db::name('Adminlog')->insert($list);
  }
}